package com.woniu.springbootmybatis.dao;

import com.woniu.springbootmybatis.pojo.Customer;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface CustomerDao {
    List<Customer> findAll();
    void save(Customer customer);
    Customer findOne(Integer id);
}
